﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.models.world.vos {

    public class TaskVO {

        private var _id:String;
        private var _action:String;
        private var _type:String;
        private var _current:int;
        private var _required:int;

        public function TaskVO(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:int){
            this._id = _arg1;
            this._action = _arg2;
            this._type = _arg3;
            this._current = _arg4;
            this._required = _arg5;
        }
        public function get id():String{
            return (this._id);
        }
        public function get action():String{
            return (this._action);
        }
        public function get type():String{
            return (this._type);
        }
        public function get required():int{
            return (this._required);
        }
        public function get current():int{
            return (this._current);
        }
        public function set current(_arg1:int):void{
            this._current = _arg1;
        }
        public function get isFinished():Boolean{
            return ((this._current == this._required));
        }
        public function increment():void{
            this._current++;
        }

    }
}//package net.wooga.pets.models.world.vos 
